

  <body>
  
    <script type="text/javascript">
$(function(){
console.info(111111);
    $('#dg').datagrid({
        url:'datagrid_data.json',
        columns:[[
    		{field:'code',title:'Code',width:100},
    		{field:'name',title:'Name',width:100},
    		{field:'price',title:'Price',width:100,align:'right'}
        ]],
        fitColumns : true,
        striped  : true,
        pagination : true ,
        pageNumber : 5,
        pageSize : 5,
        pageList :  [5,10,15],
        toolbar: [{
			iconCls: 'icon-edit',
			handler: function(){alert('edit')}
		},'-',{
			iconCls: 'icon-help',
			handler: function(){alert('help')}
	}]
    });
  });

</script>
    <table id="dg"></table>
  </body>

